package com.zsc.wxm.ysh.anjo.service.base.model.member.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 描述：
 *
 * @author playmaker
 * @since 2021/2/9 9:55
 */
@Data
@NoArgsConstructor
public class RegisterMemberVO implements Serializable {
    private static final long serialVersionUID = 4968560473974764950L;
    /**
     * 用户名
     */
    @NotBlank(message = "姓名不能为空")
    private String name;

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空")
    private String phone;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    private String password;

    /**
     * 身份证
     */
    @NotBlank(message = "身份证不为空")
    private String identityId;

    /**
     * 邮箱
     */
    @NotBlank(message = "邮箱不能为空")
    private String email;

    /**
     * 验证码
     */
    @ApiModelProperty(value = "验证码")
    private String code;
}
